package com.yhq.spring.event.exception;

import lombok.extern.slf4j.Slf4j;
import org.springframework.util.ErrorHandler;

/**
 * @author hqyin
 * @date 2023/3/14 5:19 下午
 */
@Slf4j
public class MyErrorHandler implements ErrorHandler {
    @Override
    public void handleError(Throwable t) {
        log.info("===============>EventListener handler error!",t);
    }
}
